<? if(!defined('IN_FANWE')) exit('Access Denied'); 
0
|| checkTplRefresh('./tpl/default/page/user_login.htm', './tpl/default/inc/header.htm', 1336792840, './public/tpl/compiled/page_user_login.tpl.php', './tpl/default', 'page/user_login')
|| checkTplRefresh('./tpl/default/page/user_login.htm', './tpl/default/inc/footer.htm', 1336792840, './public/tpl/compiled/page_user_login.tpl.php', './tpl/default', 'page/user_login')
;?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<?=CHARSET?>" />
<title><? if(!empty($_FANWE['nav_title'])) { ?><?=$_FANWE['nav_title']?> - <? } if(empty($no_site_name)) { ?> <?=$_FANWE['setting']['site_title']?><? } ?></title>
<meta name="keywords" content="<?=$_FANWE['setting']['seo_keyword']?>" />
<meta name="description" content="<?=$_FANWE['setting']['seo_content']?>" />
<link type="text/css" rel="stylesheet" href="<?=TPL_PATH?>css/style.css" />
<script src="<?=PUBLIC_PATH?>js/jquery.js" type="text/javascript"></script>
<script src="<?=PUBLIC_PATH?>js/jquery.cookie.js" type="text/javascript"></script>
<script src="<?=PUBLIC_PATH?>js/jquery.bgiframe.js" type="text/javascript"></script>
<script src="<?=PUBLIC_PATH?>js/jquery.lazyload.js" type="text/javascript"></script>
<script src="<?=PUBLIC_PATH?>js/base.js" type="text/javascript"></script>
<script src="<?=TPL_PATH?>js/script.js" type="text/javascript"></script>
<script type="text/javascript">
var SITE_PATH = '<?=SITE_PATH?>';
var SITE_URL = '<?=$_FANWE['site_url']?>';
var TPL_PATH = '<?=TPL_PATH?>';
var PUBLIC_PATH	 = '<?=PUBLIC_PATH?>';
var MODULE_NAME	 = '<?=MODULE_NAME?>';
var ACTION_NAME	 = '<?=ACTION_NAME?>';
var COOKIE_PRE = "<?=$_FANWE['config']['cookie']['cookie_pre']?>";
</script>
</head>
<body>
<div id="top" name="top" class="hbox">
<div class="fl">
<p>当前站点：【<?=$_FANWE['current_city']['name']?>团购网站大全】</p>
<a href="javascript:;" class="toggle">切换城市</a>
</div>
<div id="city-list" class="hidden"><? if(is_array($_FANWE['cache']['city']['py'])) foreach($_FANWE['cache']['city']['py'] as $key => $city_pys) { ?><dl>
<dt><?=$key?></dt>
<dd><? if(is_array($city_pys)) foreach($city_pys as $city_py) { if(!defined('IS_EXPIRED')) { ?><?php $goods_count = intval($_FANWE['cache']['goods']['citys']['now'][$city_py]); } if($city_py == CHINA_CITY_PY && $_FANWE['setting']['all_city'] == 1) { if(!defined('IS_EXPIRED')) { ?><?php $goods_count = $_FANWE['cache']['goods']['now_total_count']; } } elseif($city_py != CHINA_CITY_PY && $_FANWE['setting']['index_all'] == 1) { if(!defined('IS_EXPIRED')) { ?><?php $goods_count += intval($_FANWE['cache']['goods']['citys']['now'][CHINA_CITY_PY]); } } ?><?php $city = $_FANWE['cache']['city']['all'][$city_py]; ?><a href="<? if(defined('IS_EXPIRED')) { ?><?=$city['expired_url']?><? } else { ?><?=$city['url']?><? } ?>" pinYin="<?=$city_py?>" class="<? if($city['is_hot'] == 1) { ?>hot_city<? } if($city_py == CURRENT_CITY_PY) { ?> current<? } ?>"><?=$city['name']?><? if(!defined('IS_EXPIRED')) { ?><span class="count">(<?=$goods_count?>)</span><? } ?></a>
<? } ?>
</dd>
</dl>
<? } ?>
<div class="other"><a href="<? echo U('message/feedback'); ?>">没有找到城市请留言&raquo;</a></div>
</div>
<ul class="shares fr">
<li class="t">分享到：</li>
<li class="mq"><a href="#"onclick="$.copyText('#share-im');">MSN/QQ</a></li>
<li class="kx"><a  href="http://www.kaixin001.com/repaste/share.php?rurl=<?=$_FANWE['site_url']?>&amp;rtitle=<?=$_FANWE['setting']['site_name']?>" target="_blank" >开心</a></li>
<li class="rr"><a  href="http://share.renren.com/share/buttonshare.do?link=<?=$_FANWE['site_url']?>" target="_blank">人人</a></li>
<li class="db"><a  href="http://www.douban.com/recommend/?url=<?=$_FANWE['site_url']?>&amp;title=<? echo urlencode($_FANWE['setting']['site_name']); ?>" target="_blank">豆瓣</a></li>
<li class="sina"><a  href="http://v.t.sina.com.cn/share/share.php?url=<?=$_FANWE['site_url']?>&amp;title=<? echo urlencode($_FANWE['setting']['site_name']); ?>" target="_blank">新浪微博</a></li>
<li class="email"><a  href="mailto:?body=<? echo urlencode(utf8ToGB($_FANWE['setting']['site_name'])); ?> <?=$_FANWE['site_url']?>" target="_blank">邮件</a></li>
</ul>
<input id="share-im" type="hidden" value="<?=$_FANWE['setting']['site_title']?> <?=$_FANWE['site_url']?>"/>
</div>
<div id="head" class="hbox">
<div class="logo"><a href="<?=$_FANWE['site_url']?>"><img src="<?=SITE_PATH?><?=$_FANWE['setting']['shop_logo']?>" height="68" /></a></div>
<ul class="nav"><?php $nav_index = 0; if(is_array($_FANWE['cache']['nav']['main'])) foreach($_FANWE['cache']['nav']['main'] as $nav) { if($nav_index > 2) { ?>
<li class="i small<? if($nav['rec_module'] == MODULE_NAME) { ?> current<? } ?>"><a class="small" href="<?=$nav['url']?>" title="<?=$nav['name']?>" target="<?=$nav['target']?>"><?=$nav['name']?></a></li>
<? } else { ?>
<li class="i<? if($nav['rec_module'] == MODULE_NAME) { ?> current<? } ?>"><a href="<?=$nav['url']?>" title="<?=$nav['name']?>" target="<?=$nav['target']?>"><?=$nav['name']?></a></li>
<? } ?><?php $nav_index++; } ?><!--dynamic getAuctionMenu--></ul>
<div class="uc"><!--dynamic getUserInfo--></div>
</div>
<div id="nav" class="hbox">
<ul id="cateNav">
<li class="i"><a href="<? if(defined('IS_EXPIRED')) { echo U('goods/index',array('city'=>CURRENT_CITY_PY)); } else { echo U('index/index',array('city'=>CURRENT_CITY_PY)); } ?>" cateID="0">全部团购</a></li><? if(is_array($_FANWE['cache']['goods']['root_cates'])) foreach($_FANWE['cache']['goods']['root_cates'] as $catid) { ?><?php $cat = $_FANWE['cache']['goods']['cats'][$catid]; ?><li class="j"></li>
<li class="i" cateID="<?=$cat['id']?>"><a href="<? if(defined('IS_EXPIRED')) { echo U('goods/index',array('cat'=>$cat['id'],'city_py'=>CURRENT_CITY_PY)); } else { echo U('now/index',array('cat'=>$cat['id'],'city_py'=>CURRENT_CITY_PY)); } ?>" cateID="<?=$cat['id']?>"><?=$cat['name']?></a></li>
<? } ?>
</ul>
<div class="search">
<form name="header_serch" id="header_serch" action="<? if(MODULE_NAME == 'goods') { echo U('goods/search'); } else { echo U('now/search'); } ?>" method="POST">
<input type="hidden" name="action" value="search" />
<input type="text" id="serch_text" name="keyword" class="search-input inactive" value="<? if(!empty($keyword)) { ?><?=$keyword?><? } else { ?>请输入搜索的关键词！<? } ?>" empty="请输入搜索的关键词！"/>
<!--2011-01-30 update-->
<input type="image" src="<?=TPL_PATH?>images/btn_search.gif" id="head-search-submit" />
<input type="hidden" name="cat" value="<?=$cate_id?>" />
                    <input type="hidden" name="action" value="search" />
</form>
</div>
</div>
<div id="sysmsg-box">
<div id="sysmsg-error" class="sysmsg<? if($error == '') { ?> hidden<? } ?>">
<div><span class="fl"><?=$error?></span><span class="close">关闭</span></div>
</div>
<div id="sysmsg-success" class="sysmsg<? if($success == '') { ?> hidden<? } ?>">
<div><span class="fl"><?=$success?></span><span class="close">关闭</span></div>
</div>
</div>
<div class="blank20"></div>
<div class="hbox">
<dl class="user-handler">
<dt><strong>会员登陆</strong></dt>
<dd>
<div class="fl">
<form action="<? echo U('user/loginhandle'); ?>" method="post" name="user_login" id="user_login">
<div>
<p>帐号：</p>
<input name="email" class="f-input" type="text" id="email" size="25" value="<?=$user['email']?>" />
</div>
<div>
<p>密码：</p>
<input name="user_pwd" class="f-input" type="password" id="user_pwd" size="25" /><a href="<? echo U('user/getpwd'); ?>" style="margin-left:5px;">忘记密码？</a>
</div>
<div>
<p>&nbsp;</p>
<label><input type="checkbox" name="cookie_time" value="604800" /><span>一周内自动登陆</span></label>
</div>
<div class="btns">
<p>&nbsp;</p>
<input type="submit" class="f-submit" name="button" id="login-btn" value="登陆"/>
<input type="hidden" name="action" value="loginhandle" />
<input type="hidden" name="form_hash" value="<?=FORM_HASH?>" />
</div>
</form>
</div>
<div class="fr">
<p class="p1"><strong>还不是会员：</strong></p>
<p class="p2">现在免费注册成为<?=$_FANWE['setting']['site_name']?>会员，便能立刻享受便宜又放心的购物乐趣！</p>
<p class="p3"><a href="<? echo U('user/reg'); ?>"><img src="<?=TPL_PATH?>images/btn-reg.gif" /></a></p>
<p class="p4">
<a href="<? echo U('site/submit'); ?>">团购网站注册</a>
</p>
</div>
</dd>
</dl>
</div>
</body>
<script type="text/javascript">
jQuery(function($){
tooltipTop = 0;

$("#login-btn").click(function()
{
if($.trim($("#email").val()).length == 0)
{
$.showErr("请输入您注册的E-mail帐号或用户名");
$("#email").focus();
return false;
}

if($.trim($("#user_pwd").val()).length == 0)
{
$.showErr("请输入您的密码");
$("#user_pwd").focus();
return false;
}
});
});
</script>		<div class="blank9"></div>
<div id="links" class="hbox">
<div class="box">
<div class="t"></div>
<div class="m">
<ul>
                        <?php $foot_city_index = 0; if(is_array($_FANWE['cache']['city']['all'])) foreach($_FANWE['cache']['city']['all'] as $city) { ?>                        <? if($foot_city_index < $_FANWE['setting']['foot_num']) { ?>
<li style="width:60px; height:22px; border:none; line-height:22px; margin:0 8px 0 0;"><a href="<?=$city['url']?>"><?=$city['name']?>团购</a></li>
                        <?php $foot_city_index++; ?>                        <? } } ?>
</ul>
</div>
<div class="b"></div>
<div class="close" title="关闭"></div>
</div>
<div class="blank9"></div>
</div>
<div id="links" class="hbox friend">
<div class="box">
<div class="t"></div>
<div class="m">
<? if(count( $_FANWE['cache']['link']['img']) > 0) { ?>
<ul><? if(is_array($_FANWE['cache']['link']['img'])) foreach($_FANWE['cache']['link']['img'] as $link) { ?><li><a href="<?=$link['url']?>" target="_blank" ><img src="<?=$link['img']?>" alt="<?=$link['name']?>"<? if($link['height'] > 0) { ?> height="<?=$link['height']?>"<? } ?> width="<? if($link['width'] > 0) { ?><?=$link['width']?><? } else { ?>88<? } ?>"/></a></li>
<? } ?>
</ul>
<div class="clear"></div>
<? } if(count( $_FANWE['cache']['link']['txt']) > 0) { ?>
<ul><? if(is_array($_FANWE['cache']['link']['txt'])) foreach($_FANWE['cache']['link']['txt'] as $link) { ?><li class="txt"><a href="<?=$link['url']?>" target="_blank"><?=$link['name']?></a></li>
<? } ?>
</ul>
<div class="blank6"></div>
<? } ?>
</div>
<div class="b"></div>
</div>
<div class="blank9"></div>
</div>
<div id="footer">
<div class="copyright"> <a href="<? echo U('site/submit'); ?>" >网站提交</a>&nbsp;|&nbsp; <a href="<? echo U('message/index'); ?>">意见反馈</a><? if(is_array($_FANWE['cache']['nav']['bottom'])) foreach($_FANWE['cache']['nav']['bottom'] as $nav) { ?>&nbsp;|&nbsp;<a href="<?=$nav['url']?>" target="<?=$nav['target']?>" ><?=$nav['name']?></a><? } ?>
<br />
<div class="info"><? echo stripslashes($_FANWE['setting']['page_bottom']); ?> </div>
</div>
</div>
<div id="fscreen"></div>
<div id="fwindow">
<table cellspacing="0" cellpadding="0" class="fwindow_box">
<tr><td>
<div class="fwindow_top">
<h3></h3><a title="关闭" class="fwindow_close close" href="javascript:;">关闭</a>
</div>
</td></tr>
<tr><td class="fwindow_body">
<div class="fwindow_msg"></div>
<div class="fwindow_content"></div>
</td></tr>
</table>
</div>
<div id="floading">
<div class="floading">
<div class="floading_bg" style="position:absolute; left:0; top:0; z-index:1; background:#fff;"></div>
<div class="floading_body" style="position:absolute; left:0; top:0; z-index:2;"></div>
</div>
</div>
</body><!--dynamic echoScript--></html>